Update git version used in Dockerfile due to drift#1882
Merged
palfrey merged 1 commit intoTraceMachina:mainfrom Jul 29, 2025
Merged
Update git version used in Dockerfile due to drift#1882palfrey merged 1 commit intoTraceMachina:mainfrom
palfrey merged 1 commit intoTraceMachina:mainfrom
Conversation
`E: Version '1:2.34.1-1ubuntu1.14' for 'git' was not found`
Contributor
Author
|
@MarcusSorealheis please kindly merge this 1-char fix :) |
Collaborator
Collaborator
|
Thank you for the PR nevertheless! |
palfrey
approved these changes
Jul 29, 2025
Member
palfrey
left a comment
There was a problem hiding this comment.
Yup, happy with this. It's not picked up in CI as https://github.com/TraceMachina/nativelink/blob/main/.github/workflows/main.yaml#L170 only runs on 24.04, so we don't hit this for 22.04. I'll do a follow-up PR for that. There's also kinda an open question of the value of locking down the package versions so tightly, especially given we're using a floating value for the Ubuntu version - it uses 22.04/24.04 with whatever set of updates v.s. some of our other Dockerfiles that use a very specific hash version.
MarcusSorealheis
pushed a commit
to MarcusSorealheis/nativelink
that referenced
this pull request
Nov 3, 2025
`E: Version '1:2.34.1-1ubuntu1.14' for 'git' was not found`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently, trying to standup Nativelink on AWS infra using past code, as part of #1864.
When running this Docker command:
it fails with the following error:
A quick check shows
2.34.1-1ubuntu1.15as the latest:apt-cache policy git git: Installed: 1:2.34.1-1ubuntu1.15 Candidate: 1:2.34.1-1ubuntu1.15 Version table: *** 1:2.34.1-1ubuntu1.15 500 500 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 100 /var/lib/dpkg/status 1:2.34.1-1ubuntu1 500 500 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu jammy/main amd64 PackagesDescription
This change fixes the error.
Fixes # (issue)
Type of change
How Has This Been Tested?
Please also list any relevant details for your test configuration
Checklist
bazel test //...passes locallygit amendsee some docsThis change is